package com.sxt.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;

/**
 * 分页插件配置
 * @author Liushuangxi
 *
 */
@Configuration
public class MybatisPlusconfig {
	
	@Bean
	 public PaginationInterceptor paginationInterceptor() {
       return new PaginationInterceptor();
   }
}
